<template>
  <div>
    <div style="width: 100px">
      <MpSelector
        :options="options"
      ></MpSelector>
    </div>
    <div style="background-color: red;width: 100%;height: 100px;margin-top: 200px;position: absolute" @click="press" >click</div>
  </div>
</template>

<script>
import MpSelector from '../../../packages/selector';

export default {
  data() {
    return {
      options: [{
        label: '黄金糕1',
        checked: false
      }, {
        label: '双皮奶',
        checked: false
      }, {
        label: '蚵仔煎',
        checked: false
      }, {
        label: '龙须面',
        checked: false
      }, {
        label: '北京烤鸭',
        checked: false
      }],
    };
  },
  components: {
    MpSelector,
  },
  methods: {
    press() {
      console.log('press')
    }
  },
};
</script>

<style lang="less">
</style>


